package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节列表对象 sys_novel_chapter
 * 
 * @author ZouYangMing
 * @date 2022-11-09
 */
public class SysNovelChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 书籍ID */
    @Excel(name = "书籍ID")
    private Long bookId;

    /** 书籍名称 */
    private String bookName;

    /** 章节数 */
    @Excel(name = "章节数")
    private Long chapterNumber;

    /** 章节标题 */
    @Excel(name = "章节标题")
    private String chapterTitle;

    /** 章节字数 */
    @Excel(name = "章节字数")
    private Long chapterFontNumber;

    /** 阅读数量 */
    @Excel(name = "阅读数量")
    private Long chapterReadNumber;

    /** 章节内容 */
    @Excel(name = "章节内容")
    private String chapterContent;

    /** 是否付费 */
    @Excel(name = "是否付费")
    private String chapterIsPay;

    /** 付费金额 */
    @Excel(name = "付费金额")
    private BigDecimal chapterPayMoney;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setChapterNumber(Long chapterNumber) 
    {
        this.chapterNumber = chapterNumber;
    }

    public Long getChapterNumber() 
    {
        return chapterNumber;
    }
    public void setChapterTitle(String chapterTitle) 
    {
        this.chapterTitle = chapterTitle;
    }

    public String getChapterTitle() 
    {
        return chapterTitle;
    }
    public void setChapterFontNumber(Long chapterFontNumber) 
    {
        this.chapterFontNumber = chapterFontNumber;
    }

    public Long getChapterFontNumber() 
    {
        return chapterFontNumber;
    }
    public void setChapterReadNumber(Long chapterReadNumber) 
    {
        this.chapterReadNumber = chapterReadNumber;
    }

    public Long getChapterReadNumber() 
    {
        return chapterReadNumber;
    }
    public void setChapterContent(String chapterContent) 
    {
        this.chapterContent = chapterContent;
    }

    public String getChapterContent() 
    {
        return chapterContent;
    }
    public void setChapterIsPay(String chapterIsPay) 
    {
        this.chapterIsPay = chapterIsPay;
    }

    public String getChapterIsPay() 
    {
        return chapterIsPay;
    }
    public void setChapterPayMoney(BigDecimal chapterPayMoney) 
    {
        this.chapterPayMoney = chapterPayMoney;
    }

    public BigDecimal getChapterPayMoney() 
    {
        return chapterPayMoney;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookId", getBookId())
            .append("chapterNumber", getChapterNumber())
            .append("chapterTitle", getChapterTitle())
            .append("chapterFontNumber", getChapterFontNumber())
            .append("chapterReadNumber", getChapterReadNumber())
            .append("chapterContent", getChapterContent())
            .append("chapterIsPay", getChapterIsPay())
            .append("chapterPayMoney", getChapterPayMoney())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("bookName", getBookName())
            .toString();
    }
}
